package com.chebaohui.iqs.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;

/**
 * 2017-12-12新银联支付
 * 
 * @author xielonghai
 *
 */
public interface ChinaUnionServie {

	/**
	 * 支付页面
	 * 
	 * @param orderSid
	 * @return
	 */
	public void price(HttpServletRequest request, HttpServletResponse response, String orderSid);

	/**
	 * 支付后银联后台回调
	 * 
	 * @param request
	 * @param response
	 */
	public void back(final HttpServletRequest request, final HttpServletResponse response);

	/**
	 * 支付后前端页面转调
	 * 
	 * @param request
	 * @param response
	 * @return
	 */
	public ModelAndView front(final HttpServletRequest request, final HttpServletResponse response);
}
